/**
 * @author: leon
 * @date: 2020/9/2 10:08 上午
 */
export const LONG_PRESS_START_TIME = 600;

export const LONG_PRESS_INTERVAL = 200;

export function add(num1, num2) {
  const cardinal = 10 ** 10;
  return Math.round((num1 + num2) * cardinal) / cardinal;
}
